using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._FeatureClass
{
    /// <summary>
    /// <para>Calculate Default Spatial Grid Index</para>
    /// <para>Calculate the default spatial grid index.</para>
    /// <para>计算默认空间格网索引。</para>
    /// </summary>    
    [DisplayName("Calculate Default Spatial Grid Index")]
    public class CalculateDefaultGridIndex : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public CalculateDefaultGridIndex()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_features">
        /// <para>Input Features</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        public CalculateDefaultGridIndex(object _in_features)
        {
            this._in_features = _in_features;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Calculate Default Spatial Grid Index";

        public override string CallName => "management.CalculateDefaultGridIndex";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_features, _grid_index1, _grid_index2, _grid_index3];

        /// <summary>
        /// <para>Input Features</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_features { get; set; }


        /// <summary>
        /// <para>Spatial Grid Index</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Spatial Grid Index")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public double _grid_index1 { get; set; }


        /// <summary>
        /// <para>Spatial Grid Index2</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Spatial Grid Index2")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public double _grid_index2 { get; set; }


        /// <summary>
        /// <para>Spatial Grid Index3</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Spatial Grid Index3")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public double _grid_index3 { get; set; }


        public CalculateDefaultGridIndex SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}